﻿using Microsoft.EntityFrameworkCore;

namespace OrderWebApplication.Models {
    public class OrderModel : DbContext {
        public OrderModel(DbContextOptions<OrderModel> options) : base(options) { }

        public virtual DbSet<Commodity> Commodities { get; set; }
        public virtual DbSet<Customer> Customers { get; set; }
        public virtual DbSet<OrderDetail> OrderDetails { get; set; }
        public virtual DbSet<Order> Orders { get; set; }
    }
}
